package com.hulk.ratel.persistence.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cmt
 * @since 2018-08-01
 */
@TableName("t_dict_info")
public class TDictInfo extends Model<TDictInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("dict_id")
    private String dictId;
    @TableField("dict_en")
    private String dictEn;
    @TableField("dict_cn")
    private String dictCn;
    /**
     * Y-启用
            N-停用
     */
    @TableField("dict_flag")
    private String dictFlag;
    @TableField("dict_desc")
    private String dictDesc;
    @TableField("input_by")
    private String inputBy;
    @TableField("input_time")
    private Date inputTime;
    @TableField("updated_by")
    private String updatedBy;
    @TableField("updated_time")
    private Date updatedTime;
    @TableField("tenant_id")
    private String tenantId;
    @TableField("lock_version")
    private Long lockVersion;
    private String rsv1;


    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

    public String getDictEn() {
        return dictEn;
    }

    public void setDictEn(String dictEn) {
        this.dictEn = dictEn;
    }

    public String getDictCn() {
        return dictCn;
    }

    public void setDictCn(String dictCn) {
        this.dictCn = dictCn;
    }

    public String getDictFlag() {
        return dictFlag;
    }

    public void setDictFlag(String dictFlag) {
        this.dictFlag = dictFlag;
    }

    public String getDictDesc() {
        return dictDesc;
    }

    public void setDictDesc(String dictDesc) {
        this.dictDesc = dictDesc;
    }

    public String getInputBy() {
        return inputBy;
    }

    public void setInputBy(String inputBy) {
        this.inputBy = inputBy;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getLockVersion() {
        return lockVersion;
    }

    public void setLockVersion(Long lockVersion) {
        this.lockVersion = lockVersion;
    }

    public String getRsv1() {
        return rsv1;
    }

    public void setRsv1(String rsv1) {
        this.rsv1 = rsv1;
    }

    @Override
    protected Serializable pkVal() {
        return this.dictId;
    }

    @Override
    public String toString() {
        return "TDictInfo{" +
        ", dictId=" + dictId +
        ", dictEn=" + dictEn +
        ", dictCn=" + dictCn +
        ", dictFlag=" + dictFlag +
        ", dictDesc=" + dictDesc +
        ", inputBy=" + inputBy +
        ", inputTime=" + inputTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        ", tenantId=" + tenantId +
        ", lockVersion=" + lockVersion +
        ", rsv1=" + rsv1 +
        "}";
    }
}
